#include"Httpserver.hpp"
#include<string>
#include<memory>

int main(int argc,char* argv[]){
    if(argc!=2){
        LOG(ERROR)<<"USGAE: ./httpserver port";
        return 1;
    }
    uint16_t port=std::stoi(argv[1]);
    std::unique_ptr<httpserver> hsvr=std::make_unique<httpserver>(port);
    hsvr->start();
    return 0;
}